import Vue from 'vue'
import App from './App.vue'
import Router from 'vue-router'
Vue.use(Router)

Vue.config.productionTip = false
const router = new Router({
  routes:[{
    path: '/',
    component: () => import("./components/index.vue")
  },
  {
    path: '/code',
    component: () => import("./components/code.vue")
  }]
})

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
